package cn.wl.pchart.entity;

import cn.wl.pchart.tools.Tools;
import com.alibaba.fastjson.JSONObject;

import java.util.List;

/**
 * 动态类，包含一个动态的全部信息
 */
public class Dynamics {

    // 动态主体
    private Dynamic dynamic = null;
    // 动态的附加消息
    private List<Dinfo> dinfos = null;
    // 点赞、评论、转发数
    private Integer likeNums = null;
    private Integer commentNums = null;
    private Integer forwardNums = null;

    // 用户头像
    private String image = null;
    // 用户昵称
    private String name = null;

    // 动态标签
    private List<String> label = null;

    // 是否关注
    private boolean isLike = false;

    public Dynamic getDynamic() {
        return dynamic;
    }

    public void setDynamic(Dynamic dynamic) {
        this.dynamic = dynamic;
    }

    public List<Dinfo> getDinfos() {
        return dinfos;
    }

    public void setDinfos(List<Dinfo> dinfos) {
        this.dinfos = dinfos;
    }

    public Integer getLikeNums() {
        return likeNums;
    }

    public void setLikeNums(Integer likeNums) {
        this.likeNums = likeNums;
    }

    public Integer getCommentNums() {
        return commentNums;
    }

    public void setCommentNums(Integer commentNums) {
        this.commentNums = commentNums;
    }

    public Integer getForwardNums() {
        return forwardNums;
    }

    public void setForwardNums(Integer forwardNums) {
        this.forwardNums = forwardNums;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getLabel() {
        return label;
    }

    public void setLabel(List<String> label) {
        this.label = label;
    }

    public boolean isLike() {
        return isLike;
    }

    public void setLike(boolean like) {
        isLike = like;
    }
}
